package com.android.clinic.app.ui.personal;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.android.clinic.app.R;
import com.android.clinic.app.base.BaseActivity;

/**
 * Created by cheng on 2018/3/14.
 * 推广
 */
public class PromotionActivity extends BaseActivity {

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_promotion;
    }

    @Override
    protected void initView(@Nullable Bundle savedInstanceState) {

    }

    @Override
    protected void widgetClick(View v) {
        super.widgetClick(v);
        switch (v.getId()) {
            // 立即申请
            case R.id.btn_apply_now:
                startActivity(new Intent(this, BuyMemberCardActivity.class));
                break;
            // 我是持卡人
            case R.id.btn_hold_people:
                startActivity(new Intent(this, LoginActivity.class));
                break;
        }
    }
}
